package com.example.hxds.bff.driver.service;

import com.codingapi.txlcn.tc.annotation.LcnTransaction;
import com.example.hxds.bff.driver.controller.form.*;
import org.springframework.transaction.annotation.Transactional;

import java.util.HashMap;

/**
 * @ClassName: DriverService
 * @Description: 司机端BFF服务层接口
 * @Author: 丛雨
 * @Date: 2024/1/13 19:26
 */
public interface DriverService {
    long registerNewDriver(RegisterNewDriverForm form);

    int updateDriverAuth(UpdateDriverAuthForm form);

    String createDriverFaceModel(CreateDriverFaceModelForm form);

    HashMap login(LoginForm form);

    HashMap searchDriverBaseInfo(SearchDriverBaseInfoForm form);

    HashMap searchWorkbenchData(long driverId);

    byte searchDriverRealAuth(SearchDriverRealAuthForm form);

    HashMap searchDriverAuth(SearchDriverAuthForm form);
}
